package com.mashibing.servicedriveruser.controller;

import com.mashibing.servicedriveruser.mapper.DriverUserMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @author 史慕尧
 */
@RestController
public class TestController {
    @Autowired
    DriverUserMapper driverUserMapper;
    @GetMapping("/test-xml")
    public int test(String cityCode){
        int i = driverUserMapper.selectDriverUserCountByCityCode(cityCode);
        System.out.println(i+"......................");
        return i;
    }

}
